package com.qiyang.api.uaa;

import com.alibaba.boot.hsf.annotation.HSFConsumer;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Configuration;

/**
 * Created by sehuaqi on 2018-05-30.
 */
@Configuration
public class UaaHsfConfig {

    @HSFConsumer(clientTimeout = 3000, serviceVersion = "HSF1")
    private AuthrizationApi authrizationApi1;

    @HSFConsumer(clientTimeout = 3000, serviceVersion = "HSF2")
    private AuthrizationApi authrizationApi2;

}
